﻿using System;
using YunZuan.Models.Attributes;
using YunZuan.Models.Entities;

namespace YunZuan.Models
{
    [Table(TableName = "yz_set_login_mode", PrimaryKey = "ID")]
    public class SetLoginMode : BaseEntity
    {
        public SetLoginMode()
        { }
        #region Model
        private int _id;
        /// <summary>
        ///ID
        /// </summary>
        [Column(IsAutoIncrement = true)]
        public int ID
        {
            get { return _id; }
            set { this.ChangeNotify<int>("ID", value, ref _id); }
        }
        private int? _loginmode;
        /// <summary>
        ///客户登陆方式0（账号密码和短信）,1账号密码,2短信
        /// </summary>
        public int? LoginMode
        {
            get { return _loginmode; }
            set { this.ChangeNotify<int?>("LoginMode", value, ref _loginmode); }
        }
        private int _createuserid;
        /// <summary>
        ///用户ID
        /// </summary>
        public int CreateUserID
        {
            get { return _createuserid; }
            set { this.ChangeNotify<int>("CreateUserID", value, ref _createuserid); }
        }
        private DateTime _createtime;
        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return _createtime; }
            set { this.ChangeNotify<DateTime>("CreateTime", value, ref _createtime); }
        }
        private int _modifyuserid;
        /// <summary>
        ///修改用户ID
        /// </summary>
        public int ModifyUserID
        {
            get { return _modifyuserid; }
            set { this.ChangeNotify<int>("ModifyUserID", value, ref _modifyuserid); }
        }
        private DateTime _modifytime;
        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime ModifyTime
        {
            get { return _modifytime; }
            set { this.ChangeNotify<DateTime>("ModifyTime", value, ref _modifytime); }
        }
        #endregion

    }
}
